package com.wolfcode.customerlinkmane.domain.vo;

import com.wolfcode.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户联系人新增 VO对象
 * 
 * @author wolfcode
 * @date 2022-12-09
 */
public class CustomerLinkmaneVo extends BaseEntity
{
    /** 客户id，关联到企业客户表 */
    private Long customerId;
    /** 联系人名字 */
    private String linkman;
    /** 联系人电话 */
    private String phone;
    /** 性别 1 男 0 女 */
    private Integer gender;
    /** 年龄 */
    private Integer age;
    /** 职位 */
    private String position;
    /** 部门 */
    private String department;
    /** 任职状态 */
    private Integer positionState;

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setLinkman(String linkman) 
    {
        this.linkman = linkman;
    }

    public String getLinkman() 
    {
        return linkman;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setPositionState(Integer positionState) 
    {
        this.positionState = positionState;
    }

    public Integer getPositionState() 
    {
        return positionState;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("linkman", getLinkman())
            .append("gender", getGender())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("position", getPosition())
            .append("positionState", getPositionState())
            .append("department", getDepartment())
            .toString();
    }
}
